| TermRelationship |
| EntityType | Independent |
| Logical Entity Name | TermRelationship |
| Default Table Name | AdTermRelationship |
| Logical Only | NO |
| Definition | |
| Note |
| TermRelationship Attributes |
| Attribute/Logical Rolename | Domain | Datatype | NULL | Definition |
TermRelationshipId |
INTEGER | NO | ||
ParentTermId |
INTEGER | NO | ||
ChildTermId |
INTEGER | NO | ||
LastModifiedUserId |
INTEGER | NO | ||
| CreatedDateTime | DATETIME | NO | ||
| LastModifiedDateTime | DATETIME | NO | ||
| RowVersion | TIMESTAMP/DATE | NO | ||
TermId |
INTEGER | YES |
| TermRelationship Keys |
| Key Name | Key Type | Keys |
| Unq_AdTermRelationship_ParentAdTermID_ChildAdTermID | Unique Constraint | ParentTermId, ChildTermId |
| AdTermRelationship_UserID_N_N_IDX | Inversion Entry | LastModifiedUserId |
| AdTermRelationship_ChildAdTermID_N_N_IDX | Inversion Entry | ChildTermId |
| AdTermRelationship_ParentAdTermID_N_N_IDX | Inversion Entry | ParentTermId |
| PK_AdTermRelationship_AdTermRelationshipID | PrimaryKey | TermRelationshipId |
| TermRelationship Relationships |
| Parent Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype |
| Term | Non-Identifying | One To Zero or More | ChildTermId | NO | |||
| Term | Non-Identifying | One To Zero or More | ParentTermId | NO | |||
| Staff | Non-Identifying | One To Zero or More | LastModifiedUserId | NO | |||
| Term | Non-Identifying | Zero or One to Zero or More | TermId | NO | |||
| Term | Non-Identifying | Zero or One to Zero or More | TermId | NO |
| Child Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype |
| TermRelationship Check Constraints |
| Check Constraint Name | CheckConstraint |